import styled from 'styled-components'

export const FriendListWrapper = styled.div`
  .follow {
    a {
      text-decoration: none;
    }
    h3 {
      color: #008c8c;
    }
    .follow-menu {
      li {
        display: inline-block;
        padding: 6px 10px;
        margin: 0 10px;
        text-decoration: none;
        background: #f5f5f5;
        border-radius: 10px;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        cursor: pointer;
        :hover {
          box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        }
        &.active {
          background-color: #008c8c;
        }
      }
    }
    .follow-list {
      padding-top: 20px;
      padding-left: 25px;
      li {
        padding: 10px;
        background: #f5f5f5;
        display: inline-block;
        min-width: 250px;
        max-width: 280px;
        position: relative;
        margin-top: 10px;
        margin-right: 10px;
        .left {
          padding-right: 10px;
          .avatar {
            width: 100px;
            height: 100px;
          }
        }
        .right {
          .nickname {
            width: 130px;
            font-size: 18px;
            color: #008c8c;
            font-weight: bolder;
            padding-bottom: 5px;
            cursor: pointer;
          }
          .creed {
            font-size: 14px;
            color: #ccc;
            width: 130px;
          }
          .icon {
            font-size: 30px;
            color: #008c8c;
            position: absolute;
            right: 10px;
            cursor: pointer;
          }
        }
        .chat {
          .icon {
            display: none;
            font-weight: bolder;
            position: absolute;
            right: 15px;
            color: #008c8c;
            cursor: pointer;
          }
        }
        .remove {
          .icon {
            display: none;
            font-weight: bolder;
            position: absolute;
            bottom: 13px;
            left: 120px;
            color: #008c8c;
            cursor: pointer;
          }
        }
        :hover {
          box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1);
          .chat {
            .icon {
              display: inline-block;
            }
          }
          .remove {
            .icon {
              display: inline-block;
              :hover {
                color: #ff5577;
              }
            }
          }
        }
      }
    }
  }
  .friend {
    padding-top: 20px;
    h3 {
      color: #008c8c;
      padding-bottom: 10px;
    }
    .list {
      li {
        display: inline-block;
        padding-left: 10px;
        padding-top: 10px;
      }
      a {
        text-decoration: none;
        background: #fff;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        :hover {
          box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        }
        .left {
          width: 50px;
          height: 50px;
          overflow: hidden;
        }
        .avatar {
          width: 50px;
          height: 50px;
          border-radius: 50%;
        }
        .right {
          p {
            width: 120px;
          }
        }
      }
    }
  }
`
